package com.hcy.manager.dto.request;

import com.hcy.rabbitbasicmodel.signl.Delete;
import com.hcy.rabbitbasicmodel.signl.Query;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @Author huchenying
 * @Description
 * @Date 2022/4/26
 **/
@Data
public class DriverInfoRequestDTO {


    @NotNull(groups = {Delete.class})
    private Integer id;

    /**
     * 司机手机号
     */
    private String phoneNumber;


    /**
     * 司机姓名
     */
    private String driverName;

    /**
     * 注册时间 start
     */
    private Date registerTimeStart;

    /**
     * 注册时间 end
     */
    private Date registerTimeEnd;

    /**
     * 性别
     */
    private Integer gender;

    /**
     * 车辆id
     */
    private Integer carId;

    /**
     * 是否解约 1=未解约
     */
    private Integer signStatus;


    @NotNull(groups = {Query.class})
    private Integer pageNO;
    @NotNull(groups = {Query.class})
    private Integer pageSize;
}
